package com.frejoys.listener.event;

import com.frejoys.dao.entity.Order;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

// 订单核销事件
@Getter
@Setter
public class OrderVerifyEvent extends ApplicationEvent {

    private static final long serialVersionUID = 1L;

    private Integer orderId;

    public OrderVerifyEvent(Integer orderId) {
        super(orderId);
        this.orderId = orderId;
    }

}
